package myky.com.doctorapp.contract;

import java.util.List;

import io.reactivex.Observable;
import myky.com.doctorapp.base.BaseEntity;
import myky.com.doctorapp.base.BaseView;
import myky.com.doctorapp.entity.MyConsultEntity;
import myky.com.doctorapp.entity.PageEntity;

public interface MyConsultContract {
    interface Model {

        Observable<BaseEntity<MyConsultEntity>> findMyConsult(int startPage,int endPage);

    }

    interface View extends BaseView<List<MyConsultEntity.SpecialistConsultsEntity>> {


        void showPageEntity(PageEntity pageEntity);

    }

    interface Presenter {


        void findMyConsult(int startPage,int endPage);


    }
}
